package com.binvshe.binvshe.message;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.binvshe.binvshe.R;
import com.binvshe.binvshe.message.fragment.OtherMessageFragment;
import com.pachong.android.baseuicomponent.activity.BaseActivity;


/**
 * Http demo 索引界面
 *
 * @Author: Administrator
 * @E-mail: pengveivei@sina.cn
 * @CreateDate: 2017/2/4
 * @Version: 1.0.0
 */
public class SystemMessageActivity extends BaseActivity {

    public static void start(Context context) {
        Intent starter = new Intent(context, SystemMessageActivity.class);
        context.startActivity(starter);
    }


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setTitle("其他消息");
        enableBackButton();
        OtherMessageFragment fragment = new OtherMessageFragment();
        getSupportFragmentManager().beginTransaction().add(R.id.lytContainer, fragment).commit();
    }


    @Override
    public View createDataView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        return layoutInflater.inflate(R.layout.act_friends_message, null);
    }

}